//
//  ZxFmLiveViewModel.h
//  XiMaFM
//
//  Created by fanzhuxian on 2017/9/4.
//  Copyright © 2017年 hcios. All rights reserved.
//

#import "BaseViewModel.h"
#import "ZxFmLiveModel.h"

@interface ZxFmLiveViewModel : BaseViewModel

@property (nonatomic, strong) ZxFmLiveModel * model;

///< 存储推荐categoryContents.list
@property (nonatomic, strong) NSArray * livesContentsArr;

///< 返回分组数
@property (nonatomic, assign) NSInteger section;

- (NSInteger)categoryContentsCount:(NSInteger)section;

// section是数组，index是按钮下标
// 图
- (NSURL *)coverURLForSection:(NSInteger)section index:(NSInteger)index;

// icon
- (NSURL *)avatarForSection:(NSInteger)section index:(NSInteger)index;

// 主播
- (NSString *)nicknameForSection:(NSInteger)section index:(NSInteger)index;

// 标题
- (NSString *)nameForSection:(NSInteger)section index:(NSInteger)index;

// 评论人数
- (NSInteger)playCountForSection:(NSInteger)section index:(NSInteger)index;

// 标签
- (NSString *)categoryNameForSection:(NSInteger)section index:(NSInteger)index;

// 跳转
- (NSInteger)albumIdForSection:(NSInteger)section index:(NSInteger)index;

#pragma mark - 跳转需要值
- (NSInteger)categoryIdForSection:(NSInteger)section;

- (NSString *)contentTypeForSection:(NSInteger)section;

@end
